<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>线路信息设置编辑</title>
	<script>
        var requireExtraPaths = {
            extrance: '../../../master_js/setting/sysLineInfoSetEdit'
        };
	</script>
<jsp:include flush="true" page="../../base/base.jsp"></jsp:include>

</head>
<body class="site-dialog-body" style="background-color: #fff;">

	<h2 class="title-style1 mt20">
		<span>线路基础信息</span>
	</h2>

	<form class="mt30 pr-s" id="formData">
	<input type=hidden id="lineId" name="lineId">
		<ul class="form-grid form-grid2 clearfix">
			<li style="position: relative">
				<label class="label-text label-require">
					<span class="red-star">*</span>线路编号：
				</label>
				<input class="input-text" type="text" id="lineCode" name="lineCode" placeholder="最大长度为16个字符" maxlength="16" data-validator="{required:true}">
			</li>
			<li>
				<label class="label-text label-require">
					<span class="red-star">*</span>线路名称：
				</label> 
				<input class="input-text" type="text" placeholder="请输入线路名称" id="lineName" name="lineName" maxlength="10" data-validator="{required:true}">
			</li>
			<!-- <li style="position: relative">
				<label class="label-text label-require">
					<span class="red-star">*</span>所属企业：
				</label>
				<input class="input-text" type="text" user-type="treeDialog" placeholder="" readonly="readonly" name='corpName' data-validator="{required:true}"
					   data-options="{url: '/sysCorpInfo/getCorpTree.htm',name: 'corpName',idKey: 'corpId',pIdKey: 'parentCorpId'}">
				<span class="inner-icon-tree"></span> 
				</li>
			 -->
			<li style="position: relative">
				<label class="label-text label-require">
					<span class="red-star">*</span>所属机构：
				</label>
				<input class="input-text" type="text" user-type="treeDialog" placeholder="" readonly="readonly" name='organName' data-validator="{required:true}"
					   data-options="{url: '/baseOrgan/getBaseOrganList.htm',name: 'organName',idKey: 'organId',pIdKey: 'parentOrganId'}">
				<span class="inner-icon-tree"></span> 
				<input type="hidden" id="qcarOrganId-f" name="organId">
				<input type="hidden" id="qcarCorpId-f" name="corpId">
			</li>
			<li>
				<label class="label-text">线路上行里程：</label> 
				<input class="input-text" type="text" placeholder="公里数" id="lineUpstreMile" name="lineUpstreMile" data-validator="{decimal:[3,2]}">
			</li>
			<li>
				<label class="label-text">线路下行里程：</label> 
				<input class="input-text" type="text" placeholder="公里数" id="lineDostreMile" name="lineDostreMile" data-validator="{decimal:[3,2]}">
			</li>
			<li>
				<label class="label-text">线路类型：</label> 
				<select style="width: 187px;" dict="LIC00000" name="lineTypeId" id="lineTypeId"></select>
			</li>
			<li>
				<label class="label-text">上行站点数：</label> 
				<input class="input-text" type="text" id="upstreStnNum" name="upstreStnNum" maxlength="3" placeholder="个数">
			</li>
			<li class="li-radio">
		    	<label class="label-text">无人售票：</label>
				<label class="radio-wrap">
					<input type="radio" checked=""  id="chkWthrUnmannedTicket" name="wthrUnmannedTicket" value="1">
					<span class="span-text">是</span>
				</label>
				<label class="radio-wrap">
					<input type="radio" name="wthrUnmannedTicket" value="0">
					<span class="span-text">否</span>
				</label>
			</li>
			<li>
				<label class="label-text">下行站点数：</label> 
				<input class="input-text" type="text" id="dostreStnNum" name="dostreStnNum" maxlength="3" placeholder="个数">
			</li>
			<li>
				<label class="label-text">上行首班时间：</label> 
				<input class="input-text" type="text" id="upstreFirstTime" name="upstreFirstTime" readonly="readonly" onclick="WdatePicker({dateFmt:'HH:mm'})">
			</li>
			<li>
				<label class="label-text">上行末班时间：</label> 
				<input class="input-text" type="text" id="upstreLastTime" name="upstreLastTime" readonly="readonly" onclick="WdatePicker({dateFmt:'HH:mm'})">
			</li>
			<li>
				<label class="label-text">下行首班时间：</label> 
				<input class="input-text" type="text" id="dostreFirstTime" name="dostreFirstTime" readonly="readonly" onclick="WdatePicker({dateFmt:'HH:mm'})">
			</li>
			<li>
				<label class="label-text">下行末班时间：</label> 
				<input class="input-text" type="text" id="dostreLastTime" name="dostreLastTime" readonly="readonly" onclick="WdatePicker({dateFmt:'HH:mm'})">
			</li>
			<li>
				<label class="label-text">起步价：</label> 
				<input class="input-text" type="text" id="startPrice" name="startPrice"  data-validator="{decimal:[3,2]}" placeholder="请输入价格">
			</li>
			<li>
				<label class="label-text">全程价：</label>
				<input class="input-text" type="text" id="throoutPrice" name="throoutPrice" data-validator="{decimal:[3,2]}" placeholder="请输入价格">
			</li>
			<li>
				<label class="label-text">计价分段点：</label>
				<input class="input-text" type="text" id="valBreakPo" name="valBreakPo" maxlength="25" placeholder="请输入计价分段点">
			</li>
		    <li class="li-textarea mb0">
				<label class="label-text vt">备注：</label>
				<textarea id="remark" name="remark"  maxlength="200" placeholder="请输入备注" class="vt"></textarea>
			</li>
		</ul>
		
	</form>
</body>
</html>